From 8656c47f2ceafe7110d1c42cf48aab4d8c8fa3e1 Mon Sep 17 00:00:00 2001 From: Android Tools Maintainers Date: Thu, 13 Dec 2018 09:11:09 +0000 Subject: [PATCH] Implements the default no-arg constructor `std::partition_point` instantiates `StrideIterator` with a no-arg constructor. Gbp-Pq: Name StrideIterator-constructor.patch --- runtime/stride_iterator.h | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/stride_iterator.h b/runtime/stride_iterator.h index 0560c33..9dda4a5 100644 --- a/runtime/stride_iterator.h +++ b/runtime/stride_iterator.h @@ -33,6 +33,7 @@ class StrideIterator : public std::iterator StrideIterator(StrideIterator&&) = default; StrideIterator& operator=(const StrideIterator&) = default; StrideIterator& operator=(StrideIterator&&) = default; + StrideIterator() = default; StrideIterator(T* ptr, size_t stride) : ptr_(reinterpret_cast(ptr)), -- 2.30.2